package com.itany.service;

import com.github.pagehelper.PageInfo;
import com.itany.pojo.User;

public interface UserService {
    public PageInfo<User> findUserAll(Integer page, Integer rows);


    public PageInfo<User> findUserByExample(Integer page, Integer rows,String username,Integer flag);

    public void updateStatus(Integer id,Integer flag);


    public User findOne(Integer id);

    public void modify(Integer id,String username,String phone,String email,String interest);
}
